import React, {FC, useEffect, useState} from 'react';

interface Demo01Props {
}

const Demo01: FC<Demo01Props> = (props) => {
    const {children} = props;

    useEffect(() => {
        console.log('Demo01 组件挂载完毕!');
    }, []);

    console.log('Demo01 组件render!');
    return (
        <div>
            <div>Demo01 组件</div>
        </div>
    );
};

export default Demo01;
